#include<stdio.h>
int max(int x,int y)
{
	if(x>y)
	{
		return x;
	}
	else
	{
		return y;
	}
}

int min(int x,int y)
{
	if(x>y)
	{
		return y;
	}
	else
	{
		return x;
	}
}

int main()
{
	int a,b,c;
	scanf("%d %d %d",&a,&b,&c);
	int maximum,minimum;
	maximum=max(max(a,b),c);
	minimum=min(min(a,b),c);
	printf("The maximum number is : %d\n",maximum);
	printf("The minimum number is : %d\n",minimum);
	return 0;
}
